package com.home.homepage.dao.postFooter;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.eig.common.entity.homepageentity.postFooter.TbArticle;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author ：YQ袁
 * @date ：Created in 2022/12/10 12:23
 * @description：
 * @modified By：
 * @version:
 */
public interface ArticleDao extends BaseMapper<TbArticle> {
    @Select("select ss.id ida ,  aa.* from tb_bottom_article bb join tb_article aa  on aa.nav_id=bb.id inner join tb_bottom_article ss on bb.parent_id = ss.id;")
    List<TbArticle> queryAll();
}
